package com.meteor.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fhs.core.trans.vo.TransPojo;
import com.meteor.framework.common.utils.DateUtils;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author lynn
 * @date 2024/1/26
 */

@Data
public class CommunityVO implements Serializable, TransPojo {

    private String id;

    @Schema(description = "商户id")
    private String merchantId;

    @Schema(description = "社区名称")
    private String communityName;

    @Schema(description = "社区编码")
    private String communityCode;

    @Schema(name = "省区划码")
    private String communityProvenceCode;

    @Schema(name = "市区划码")
    private String communityCityCode;

    @Schema(name = "区县区划码")
    private String communityTownCode;

    @Schema(name = "详细地址")
    private String communityAddress;

    @Schema(name = "经度")
    private String communityLongitude;

    @Schema(name = "纬度")
    private String communityLatitude;


    @Schema(description = "组织id")
    private String orgId;

    @Schema(description = "组织名称")
    private String orgName;

    @Schema(description = "创建时间")
    @JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
    private Date createTime;

    @Schema(description = "创建人id")
    private String createdBy;

    @Schema(description = "创建人姓名")
    private String createdUserName;

}
